<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of AdminLoginForm
 *
 * @author thanhdx
 */
class AdminLoginForm extends CFormModel{
    
    public $username;
    public $password;
    
    public function rules() {
        return array(
            array('username,password','required'),
            array('username','length','max',8),
        );
    }
}

?>
